<template>
	<view>
		<uni-nav-bar left-icon="arrowthinleft" title="缴费详情" :border="false" :fixed="true" bg="bg-fff" color="#333"
			@clickLeft="goBack()">
			<view slot="right" @tap="jump('/pages/my/jiaofei_log')">
				<view class="fs-26 color-666">历史缴费</view>
			</view>
		</uni-nav-bar>
		<view class="margin-top-20 padding-30 bg-fff">
			<view class="fs-30 color-333 fw-600 margin-bottom-20">平台费用标准</view>
			<text class="fs-26 color-666">{{info.se_fee_rule}}</text>
		</view>
		<view class="margin-top-20 bg-fff padding-30 flex align-center justify-between">
			<text class="fs-28 color-333">应缴纳费用</text>
			<text class="fs-32 color-zhuse fw-600">￥{{info.set_fee}}</text>
		</view>
		<view class="flex align-center padding-30">
			<view class="bg-zhuse" style="width: 6rpx;height: 32rpx;"></view>
			<text class="fs-28 color-333 margin-left-20">已缴纳费用</text>
		</view>
		<view v-for="(item,index) in list" :key='index' class="padding-x-24 padding-y-30 solid-bottom flex align-center justify-between bg-fff">
			<view class="flex1">
				<view class="fs-28 color-333">平台缴费</view>
				<view class="fs-26 color-999">2021-09-23  10:23</view>
			</view>
			<view class="fs-32 color-zhuse fw-600">-30</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info: {},
				list:[]
			}
		},
		onLoad() {
			this.init()
		},
		methods: {
			init() {
				this.$api.fee_info().then(res => {
					if (res.code == 1) {
						this.info = res.data
					}
				})
				
				this.$api.fee_list({page:1}).then(res => {
					if (res.code == 1) {
						this.list = res.data.data
					}
				})
				
			},
		}
	}
</script>

<style>
	page {
		background: #F7F7F7;
	}
</style>
